package com.zi.experttalk.experttalk.View;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.ListView;
import com.zi.experttalk.experttalk.R;

/**
 * Created by lenovo on 2014/12/10.
 */
public class CitylistActivity extends Activity {
    private Button main_page_location_Button;
    private ListView citylist_listview;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.citylist);

        main_page_location_Button = (Button) findViewById(R.id.main_page_location_Button);
        citylist_listview = (ListView) findViewById(R.id.citylist_listview);

        main_page_location_Button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(CitylistActivity.this,HomeActivity.class);
                startActivity(intent);
                finish();
            }
        });
    }
}
